<p>
  <b>Username:</b>
  <%=h @profile.user.username %>
</p>

<p>
  <b>First name:</b>
  <%=h @profile.first_name %>
</p>

<p>
  <b>Last name:</b>
  <%=h @profile.last_name %>
</p>

<p>
  <b>Sex:</b>
  <%=h Profile::SEX.index(@profile.sex) %>
</p>

<p>
  <b>Card ID:</b>
  <%=h @profile.card_id %>
</p>

<p>
  <b>Birthday:</b>
  <%=h @profile.birthday %>
</p>

<p>
  <b>Address:</b>
  <%=h @profile.address %>
</p>

<p>
  <b>District:</b>
  <%=h @profile.district %>
</p>

<p>
  <b>City:</b>
  <%=h @profile.city.title %>
</p>

<p>
  <b>Email:</b>
  <%=h @profile.email %>
</p>

<p>
  <b>Telephone:</b>
  <%=h @profile.telephone %>
</p>

<p>
  <b>Mobile:</b>
  <%=h @profile.mobile %>
</p>

<p>
  <b>Description:</b>
  <%=h @profile.description %>
</p>

<p>
  <b>Created at:</b>
  <%=h @profile.created_at %>
</p>


<%= link_to 'Edit', edit_profile_path(@profile) %> |
<%= link_to 'Back', profiles_path %>
